using System;
using ZhCun.DbCore.Entitys;

namespace ZhCun.WebCommon.DBModels
{
	public partial class VSysLogHttp : EntityBase
	{
		private System.String _AddHost;
		/// <summary>
		/// AddHost
		/// </summary>
		[Entity(ColumnName = CNAddHost, IsPrimaryKey = true)]
		public System.String AddHost
		{
			get { return _AddHost; }
			set
			{
				_AddHost = value;
				base.SetFieldChanged(CNAddHost) ;
			}
		}

		private System.DateTime? _AddTime;
		/// <summary>
		/// AddTime
		/// </summary>
		[Entity(ColumnName = CNAddTime)]
		public System.DateTime? AddTime
		{
			get { return _AddTime; }
			set
			{
				_AddTime = value;
				base.SetFieldChanged(CNAddTime) ;
			}
		}

		private System.String _AddUserId;
		/// <summary>
		/// AddUserId
		/// </summary>
		[Entity(ColumnName = CNAddUserId)]
		public System.String AddUserId
		{
			get { return _AddUserId; }
			set
			{
				_AddUserId = value;
				base.SetFieldChanged(CNAddUserId) ;
			}
		}

		private System.String _UserName;
		/// <summary>
		/// UserName
		/// </summary>
		[Entity(ColumnName = CNUserName)]
		public System.String UserName
		{
			get { return _UserName; }
			set
			{
				_UserName = value;
				base.SetFieldChanged(CNUserName) ;
			}
		}

		private System.String _LoginName;
		/// <summary>
		/// LoginName
		/// </summary>
		[Entity(ColumnName = CNLoginName)]
		public System.String LoginName
		{
			get { return _LoginName; }
			set
			{
				_LoginName = value;
				base.SetFieldChanged(CNLoginName) ;
			}
		}

		private System.Decimal? _RunTime;
		/// <summary>
		/// RunTime
		/// </summary>
		[Entity(ColumnName = CNRunTime)]
		public System.Decimal? RunTime
		{
			get { return _RunTime; }
			set
			{
				_RunTime = value;
				base.SetFieldChanged(CNRunTime) ;
			}
		}

		private System.String _RequestPath;
		/// <summary>
		/// RequestPath
		/// </summary>
		[Entity(ColumnName = CNRequestPath)]
		public System.String RequestPath
		{
			get { return _RequestPath; }
			set
			{
				_RequestPath = value;
				base.SetFieldChanged(CNRequestPath) ;
			}
		}

		private System.Int32? _StatusCode;
		/// <summary>
		/// StatusCode
		/// </summary>
		[Entity(ColumnName = CNStatusCode)]
		public System.Int32? StatusCode
		{
			get { return _StatusCode; }
			set
			{
				_StatusCode = value;
				base.SetFieldChanged(CNStatusCode) ;
			}
		}

		private System.String _HttpMethod;
		/// <summary>
		/// HttpMethod
		/// </summary>
		[Entity(ColumnName = CNHttpMethod)]
		public System.String HttpMethod
		{
			get { return _HttpMethod; }
			set
			{
				_HttpMethod = value;
				base.SetFieldChanged(CNHttpMethod) ;
			}
		}

		#region 字段名的定义
		public const string CNAddHost = "AddHost";
		public const string CNAddTime = "AddTime";
		public const string CNAddUserId = "AddUserId";
		public const string CNUserName = "UserName";
		public const string CNLoginName = "LoginName";
		public const string CNRunTime = "RunTime";
		public const string CNRequestPath = "RequestPath";
		public const string CNStatusCode = "StatusCode";
		public const string CNHttpMethod = "HttpMethod";
		#endregion

	}
}
